package org.example.javafx.WebApi;

public enum BaseURL {
    localhost("http://127.0.0.1:8080/"),

    YES_API("http://hn.api.yesapi.net/");

    private final String url;

    BaseURL(String url){
        this.url = url;
    }

    public String getUrl() {
        return url;
    }

    @Override
    public String toString() {
        return url ;
    }
}
